avoid error on missing compute state in checkKey
authorJoey Hess <joeyh@joeyh.name>
Tue, 11 Mar 2025 15:49:47 +0000 (11:49 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 11 Mar 2025 15:49:47 +0000 (11:49 -0400)
commit5760a15c7c78d3cc5fffa369f1f8eb5aa8e057c5
tree62cdc8dd62cc1904bb8882664415006dec415828
parent0477a8d0983507438f5990e1b9aa412cf9b2621e
avoid error on missing compute state in checkKey

This improves eg `git-annex move --to` a compute remote that does not
contain the key. Rather than erroring with "Missing compute state" when
it checks if the key is in the remote, it proceeds to trying to store to
it, which has a nice error message.
Remote/Compute.hs